/**
 * Project Name:dsrs-businessservice-dao
 * File Name:ConsumerLogMapper.java
 * Package Name:com.bwda.dsrs.businessservice.mapper.dsrs;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 *
 */
package com.bwda.dsrs.filecenter.mapper.dsrs;

import com.bwda.dsrs.filecenter.domain.condition.userlog.UserLogCondition;
import com.bwda.dsrs.filecenter.domain.form.userlog.UserLogTreeFrom;
import com.bwda.dsrs.filecenter.domain.po.userlog.UserLogPo;

import java.util.List;

/**
 * 用户日志
 *
 * @author liangjianyong
 * @date 2019/4/27
 */
public interface BusUserLogMapper extends BaseMapper<UserLogPo, UserLogCondition> {

    /**
     * 批量添加
     * @param userLogs
     * @return
     */
    public void insertBatch(List<UserLogPo> userLogs);

    /**
     * des
     * @return
     */
    List<UserLogPo> selectAll();


    /**
     * des
     * @param originFileId
     * @return
     */
    List<UserLogTreeFrom>   selectOrigin(String originFileId);

    /**
     * des
     * @param fileId
     * @return
     */
    List<UserLogTreeFrom>   selectFile(String fileId);

}